<template>
  <div class="bottom-bar">
    <div class="store">
      <van-icon name="shop-o" size="28" />
      <div class="title">店铺</div>
    </div>
    <div class="customer-service">
      <van-icon name="chat-o" size="28" />
      <div class="title">客服</div>
    </div>
    <div class="collect">
      <van-icon name="star-o" size="28" />
      <div class="title">收藏</div>
    </div>
    <div class="add-cart">加入购物车</div>
    <div class="buy">立即购买</div>
  </div>
</template>

<style lang="scss" scoped>
.bottom-bar {
  border: 1px solid #eee;
  background-color: #fff;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;

  .store {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    .van-icon {
    }

    .title {
      font-size: 12px;
      color: #666;
    }
  }

  .customer-service {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    .van-icon {
    }

    .title {
      font-size: 12px;
      color: #666;
    }
  }

  .collect {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    .van-icon {
    }

    .title {
      font-size: 12px;
      color: #666;
    }
  }

  .add-cart {
    font-size: 14px;
  }

  .buy {
    font-size: 14px;
  }
}
</style>
